package com.mysoft.gfyx.clue.backgroundjob;

import com.mysoft.framework.backgroudbjob.BackgroundJob;
import com.mysoft.framework.backgroudbjob.annotation.JobName;
import com.mysoft.gfyx.clue.service.dto.CustomerFeedingJobDto;
import lombok.extern.slf4j.Slf4j;

@Slf4j
/**
 * 客户反哺异步任务
 */
@JobName(jobGroup = "CustomerFeedingJobGroup")
public class CustomerFeedingJobHandler implements BackgroundJob<CustomerFeedingJobDto> {
    @Override
    public void execute(CustomerFeedingJobDto customerFeedingJobDto) throws Exception {
        System.out.println("结果");
        System.out.println(customerFeedingJobDto.toString());
    }
}
